import http from "@/api";

import { CompanyUserConfigVo } from "@/biz/interface/CompanyType";

import { ModuleMainUrl } from "..";

const mainModuleUrl = ModuleMainUrl;

// * 新增企业用户当家币的配置
export const saveCompanyUserCoinApi = (config: CompanyUserConfigVo) => {
  return http.post(mainModuleUrl + `/cpycoin/saveuserconfig`, {
    userConfig: config
  });
};
